<%@ page language="java" contentType="text/html;charset=UTF-8"
    pageEncoding="UTF-8"%>
<link type="text/css" rel="stylesheet" href="${ctx}/css/dlifestyle/footer.css" />

<div class="footer_company">
	<font size="2" color="#7f7b7b" face="微软雅黑">武汉虹信技术服务有限责任公司</font><br>
	<font size="2" color="#7f7b7b" face="微软雅黑">Copyright ©2016-2018</font>
	 
</div>
<script>
$(function(){
	
	lrFixFooter("div.footer_company");	//调用方法：lrFixFooter("div.footerwarp"); 传入底部的类名或者ID名
	
	function lrFixFooter(obj){
		var footer = $(obj),doc = $(document);
		function fixFooter(){
			if(doc.height()-4 <= $(window).height()){
				footer.css({
					width:$(window).width() - 289 - 38,
					position:"absolute",
					left:234,
					bottom:10
				});
			}else{
				footer.css({
					position:"static"
				});
			}
		}
		fixFooter();
		$(window).on('resize.footer', function(){
			fixFooter();
		});
		$(window).on('scroll.footer',function(){
			fixFooter();
		});	
			
	}
	
})
</script>